(window_loop, case GET_LRU_WINDOW): Get frame's width properly.
authorRichard M. Stallman <rms@gnu.org>
Thu, 27 May 1993 03:46:21 +0000 (03:46 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 27 May 1993 03:46:21 +0000 (03:46 +0000)
src/window.c

index a1fda05646325e577cc26a417fb73d37e7b34870..0fbc4d41f643d28d7e721d0630e558c58370967d 100644 (file)
@@ -1131,7 +1131,7 @@ window_loop (type, obj, mini, frames)
          case GET_LRU_WINDOW:
            /* t as arg means consider only full-width windows */
            if (!NILP (obj) && XFASTINT (XWINDOW (w)->width)
-               != FRAME_WIDTH (frame))
+               != FRAME_WIDTH (XFRAME (WINDOW_FRAME (XWINDOW (w)))))
              break;
 #if 0
            /* Ignore invisible and iconified frames.  */